package com.elitel.frame.main.dao.ext;

import com.elitel.frame.main.entity.ext.PageDetailsinfoExt;
import com.elitel.frame.main.entity.ext.PrjServiceExt;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface ExtPageDetailsinfoMapper {
    int deleteByPageCode(String pagecode);

    int insertPageDetailsinfoBatch(Map<String, Object> mapParams);
    int insertPageDetailsinfoBatchSqlite(Map<String, Object> mapParams);

    List<PageDetailsinfoExt> getQueryFieldListByServiceId(@Param("serviceId") String serviceId, @Param("pageCode") String pageCode);

    List<PageDetailsinfoExt> getAllShowFieldByServiceId(@Param("serviceId") String serviceId, @Param("pageCode") String pageCode);

    List<PageDetailsinfoExt> getAllShowFieldExecSQLByServiceId(@Param("serviceId") String serviceId, @Param("pageCode") String pageCode);

    List<PageDetailsinfoExt> getEditExecSQLByServiceId(@Param("serviceId") String serviceId, @Param("pageCode") String pageCode);

    List<PrjServiceExt> getServiceBytype(Map<String, Object> mapParams);
}
